package org.csmzxy.class2333;
import java.io.FileInputStream;
public class Example08 {
    public static void main(String[] args) throws Exception{
        FileInputStream in = new FileInputStream("src\\file\\test01.txt");
        int len;
        byte[] bytes = new byte[7];
        while ((len = in.read(bytes)) != -1){
            System.out.println(new String(bytes,0,len));
        }
        in.close();
    }
}
